package tpase.StorageServer.Service;

import tpase.StorageServer.DO.FileInfo;
import tpase.StorageServer.DO.UserAuth;

import java.util.List;

public interface StorageServerService {
    boolean hasUid(String uid);

    void storeAuth(UserAuth userAuth);

    public byte[] getUserAuth(String uid);

    public void clear();

    List<FileInfo> getFileInfoList(String uid);

    void deleteFile(String fid);

    void storeFile(FileInfo fileInfo);

    FileInfo getFileInfo(String fid);
}
